package com.baizhi.service;

import com.baizhi.entity.Banner;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface BannerService {
    //展示所有轮播图信息
    public PageInfo<Banner> selectAll(Integer page,Integer limit);
    //修改轮播图信息
    public Boolean updateBanner(Banner banner);
    //添加轮播图信息
    public Boolean insertBanner(Banner banner);
    //查询单条信息
    public Banner selectOne(Integer id);
    //假删除   修改状态
    public Boolean updateStatus(Banner banner);
}
